import 'package:get/get.dart';
import 'package:inmotion_pro/service/global_service.dart';

import '../../mixin/vehicle_type_mixin.dart';
import 'state.dart';

class VehicleMoreFeaturesController extends GetxController {
  final VehicleMoreState state = VehicleMoreState();

  // 当前车辆类型
  VehicleType get _vehicleType => GlobalService.to.currentVehicleType;

  @override
  void onInit() {
    super.onInit();
    // 初始化功能列表
    state.itemList.value = _vehicleType.getVehicleMoreFeaturesCellList();
  }
}
